#define _CRT_SECURE_NO_WARNINGS 1


#include<stdio.h>


int main1()
{
    int v1[] = { 0,1,2 };
    int i = 0;
    int x = 0;
    while ((v1[i]) == v1[i++] && i<3)
    {
        x++;
    }
    printf("%d", x);
    return 0;
}